<template>
  <!--  <i :class="'ebdmn-' + icon" aria-hidden="true"></i>-->
  <svg class="icon" aria-hidden="true">
    <use :xlink:href="'#' + icon" />
  </svg>
</template>

<script>
import '@assets/icon/iconfont.css'
import '@assets/icon/iconfont.js'
import { defineComponent } from 'vue'

export default defineComponent ({
  name: 'EbdmnIcon',
  props: {
    icon: {
      type: String,
      required: true
    }
  }
})
</script>

<style lang="less" scoped>
.icon {
  width: 1em; height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}
</style>
